package com.kitty.game.hunqiao.model;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import com.kitty.game.hunqiao.model.HunQiaoAllProps;

/**
 * 保存到数据库的信息
 */
@Getter@Setter
public class HunQiaoToSave implements Serializable {
    /** 仓库 **/
    private List<HunQiaoStoreEquipInfo> cangKus ;
    /** 装上的太阴之气**/
    private int[] hunQiao ;
    /** 引魂阶段 **/
    private int level ;

    private int itemUnique;

    public HunQiaoToSave(){
        this.level = 1;
        this.cangKus = new ArrayList<>();
        this.hunQiao = new int[5];
        this.itemUnique = 1;
    }
    public int itemUnique(){
        return itemUnique++;
    }

    public void zhuru(int pos, int  itemUnique){
        hunQiao[pos-21] = itemUnique;
    }
}
